package com.face.console.service;

import com.face.console.pojo.dto.RoleDto;
import com.face.console.pojo.request.MenuIdRequest;
import com.face.console.pojo.request.RoleIdAndMenuIdsRequest;
import com.face.console.tools.R;

import java.util.List;

/**
 * @author Liudehua
 * @explain
 * @date 2021/01/20 16:32
 */
public interface RoleService {

    R saveRole(RoleDto param);

    R mangerMenu(RoleIdAndMenuIdsRequest menuIds);

    R queryRoleMenuById(List<MenuIdRequest> menuIds);

    R selectAllMenuByRoleId(long roleId);

    R delRoleById(Long roleId);
}
